package com.zm.dao;

import com.zm.pojo.AppCategory;
import com.zm.pojo.DataDictionary;

import java.util.List;

public interface AppCategoryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AppCategory record);

    int insertSelective(AppCategory record);

    AppCategory selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AppCategory record);

    int updateByPrimaryKey(AppCategory record);

    //查询一级分类
    List<AppCategory> selectByCategoryLevel1();

    //查询二级分类
    List<AppCategory> selectByCategoryLevel2();

    //查询三级分类
    List<AppCategory> selectByCategoryLevel3();
    //查询所有
    List<AppCategory> selectAll();
}